package com.luoxc.service.impl;

import com.luoxc.mapper.UserMapper;
import com.luoxc.pojo.User;
import com.luoxc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> select() {
        List<User> user = userMapper.selectAll();
        return user;
    }
}
